#include "../../source/server.hpp"
#include <string>

int main()
{
    Buffer buff;
    for(int i = 0; i < 300; i++)
    {
        std::string str = "hello!!" + std::to_string(i)+'\n';
        buff.WriteStringAndPush(str);
    }

    while(buff.ReadAbleSize())
    {
        std::string line = buff.GetLineAndPop();
    }
    INF_LOG("hello");
    // Buffer buff1;
    // buff1.WriteBufferAndPush(buff);
    

    // std::string tmp;
    // tmp = buff.ReadAsStringAndPop(buff.ReadAbleSize());
    // std::cout << tmp << std::endl;

    return 0;
}